| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`Render should render component 1`] = `
- <form
- className="section gf-form-group"
- onSubmit={[Function]}
- >
- <h3
- className="page-heading"
- >
- Preferences
- </h3>
- <div
- className="gf-form"
- >
- <span
- className="gf-form-label width-11"
- >
- UI Theme
- </span>
- <SimplePicker
- getOptionLabel={[Function]}
- getOptionValue={[Function]}
- onSelected={[Function]}
- options={
- Array [
- Object {
- "text": "Default",
- "value": "",
- },
- Object {
- "text": "Dark",
- "value": "dark",
- },
- Object {
- "text": "Light",
- "value": "light",
- },
- ]
- }
- width={20}
- />
- </div>
- <div
- className="gf-form"
- >
- <Component
- tooltip="Not finding dashboard you want? Star it first, then it should appear in this select box."
- width={11}
- >
- Home Dashboard
- </Component>
- <SimplePicker
- defaultValue={
- Object {
- "id": 1,
- "tags": Array [],
- "title": "Standard dashboard",
- "type": "",
- "uid": "",
- "uri": "",
- "url": "",
- }
- }
- getOptionLabel={[Function]}
- getOptionValue={[Function]}
- onSelected={[Function]}
- options={
- Array [
- Object {
- "id": 0,
- "tags": Array [],
- "title": "Default",
- "type": "",
- "uid": "",
- "uri": "",
- "url": "",
- },
- Object {
- "id": 1,
- "tags": Array [],
- "title": "Standard dashboard",
- "type": "",
- "uid": "",
- "uri": "",
- "url": "",
- },
- ]
- }
- placeholder="Chose default dashboard"
- width={20}
- />
- </div>
- <div
- className="gf-form"
- >
- <label
- className="gf-form-label width-11"
- >
- Timezone
- </label>
- <SimplePicker
- getOptionLabel={[Function]}
- getOptionValue={[Function]}
- onSelected={[Function]}
- options={
- Array [
- Object {
- "text": "Default",
- "value": "",
- },
- Object {
- "text": "Local browser time",
- "value": "browser",
- },
- Object {
- "text": "UTC",
- "value": "utc",
- },
- ]
- }
- width={20}
- />
- </div>
- <div
- className="gf-form-button-row"
- >
- <button
- className="btn btn-success"
- type="submit"
- >
- Save
- </button>
- </div>
- </form>
- `;
|