-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPlayground.js
More file actions
32 lines (28 loc) · 810 Bytes
/
Playground.js
File metadata and controls
32 lines (28 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// NOTE: Please do not commit any of the code you write here
import React from 'react';
import { colors } from '../src/theme';
import {
Button, Card, Heading, Link, Text, Icon, Dropdown, TextField,
} from '../src';
const {
Image, Content, Overline, Title, Subtitle, Body, Footer,
} = Card;
// import any components here
export function Playground() {
return (
<>
<div>
{/* Add the code you want to test here */}
<Dropdown error="success">
<Dropdown.Summary>Choose a color</Dropdown.Summary>
<Dropdown.Menu>
<Dropdown.Item>Item 1</Dropdown.Item>
<Dropdown.Item>Item 2</Dropdown.Item>
<Dropdown.Item>Item 3</Dropdown.Item>
</Dropdown.Menu>
</Dropdown>
<TextField />
</div>
</>
);
}