123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`NoteInput renders 1`] = `
- <form
- className="activity-field"
- noValidate={true}
- onSubmit={[Function]}
- >
- <div
- className="activity-notes"
- >
- <NavTabs>
- <li
- className="active"
- >
- <a
- onClick={[Function]}
- >
- Write
- </a>
- </li>
- <li
- className=""
- >
- <a
- onClick={[Function]}
- >
- Preview
- </a>
- </li>
- <li
- className="markdown"
- >
- <span
- className="icon-markdown"
- />
- <span
- className="supported"
- >
- Markdown supported
- </span>
- </li>
- </NavTabs>
- <withDefaultStyle(MentionsInput)
- autoFocus={true}
- displayTransform={[Function]}
- markup="**[sentry.strip:__type__]__display__**"
- onChange={[Function]}
- onKeyDown={[Function]}
- placeholder="Add details or updates to this event.
- Tag users with @, or teams with #"
- required={true}
- style={
- Object {
- "&multiLine": Object {
- "control": Object {
- "fontFamily": "Rubik, Avenir Next, Helvetica Neue, sans-serif",
- },
- "highlighter": Object {
- "padding": 20,
- },
- "input": Object {
- "border": 0,
- "minHeight": 140,
- "outline": 0,
- "overflow": "auto",
- "padding": "15px 20px 0",
- },
- },
- "&singleLine": Object {
- "control": Object {
- "display": "inline-block",
- "width": 130,
- },
- "highlighter": Object {
- "border": "2px inset transparent",
- "padding": 1,
- },
- "input": Object {
- "border": "2px inset",
- "padding": 1,
- },
- },
- "control": Object {
- "backgroundColor": "#fff",
- "fontSize": 15,
- "fontWeight": "normal",
- },
- "input": Object {
- "margin": 0,
- },
- "suggestions": Object {
- "item": Object {
- "&focused": Object {
- "backgroundColor": "#f8f6f9",
- },
- "borderBottom": "1px solid rgba(0,0,0,0.15)",
- "padding": "5px 15px",
- },
- "list": Object {
- "backgroundColor": "white",
- "border": "1px solid rgba(0,0,0,0.15)",
- "fontSize": 12,
- "maxHeight": 150,
- "overflow": "auto",
- },
- },
- }
- }
- value=""
- >
- <withDefaultStyle()
- appendSpaceOnAdd={true}
- data={Array []}
- isLoading={false}
- onAdd={[Function]}
- onRemove={[Function]}
- renderSuggestion={null}
- trigger="@"
- type="member"
- />
- <withDefaultStyle()
- appendSpaceOnAdd={true}
- data={Array []}
- isLoading={false}
- onAdd={[Function]}
- onRemove={[Function]}
- renderSuggestion={null}
- trigger="#"
- type="team"
- />
- </withDefaultStyle(MentionsInput)>
- <div
- className="activity-actions"
- >
- <button
- className="btn btn-default"
- disabled={false}
- type="submit"
- >
- Post Comment
- </button>
- </div>
- </div>
- </form>
- `;
|