mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Avatar Props Interface : * Box Props Interface * Button Props Interface * Card Props Interface * Nicked the types, Column Props Interface * Container Interface Props * GroupAvatar interface * Finished * Linted and fixed: * 2.6 * Added Project Github URL
29 lines
572 B
TypeScript
29 lines
572 B
TypeScript
import * as React from "react";
|
|
import {
|
|
Avatar,
|
|
Box,
|
|
Button,
|
|
Card,
|
|
Checkbox,
|
|
Column,
|
|
Container,
|
|
GroupAvatar,
|
|
Icon,
|
|
IconButton
|
|
} from "gestalt";
|
|
|
|
<Avatar name="Nicolas" />;
|
|
<Box />;
|
|
<Button text={"Click me"} />;
|
|
<Card />;
|
|
<Checkbox id={"1"} onChange={() => {}} />;
|
|
<Column span={1} />;
|
|
<Container />;
|
|
<GroupAvatar collaborators={[{ name: "nicolas" }]} />;
|
|
<Icon
|
|
accessibilityLabel={"sup"}
|
|
icon={"add"}
|
|
dangerouslySetSvgPath={{ __path: "something" }}
|
|
/>;
|
|
<IconButton accessibilityLabel={"something"} icon={"add-pin"} />;
|