Skip to content

Commit

Permalink
Improved docs for NativeSelect & TextArea
Browse files Browse the repository at this point in the history
  • Loading branch information
hnprashanth committed Sep 16, 2022
1 parent e1d23fe commit 68c93ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions docs/docs/components/nativeSelect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,12 @@ const options = [

<div className="App">
<NativeSelect
borderRadius={"50px"}
error="This is an error"
borderRadius={"60px"}
options={options}
/>
</div>;
```

> Note: **error** can also be passed as a boolean.
<NativeSelect
borderRadius={"60px"}
options={[
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/components/text-area.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import { TextArea } from "@hover-design/react";
### Fixedsize

```jsx
<TextArea placeholder="Fixedsize" fixedSize="true"></TextArea>
<TextArea placeholder="Fixedsize" fixedSize={true}></TextArea>
```

<TextArea placeholder="Fixedsize" fixedSize="true"></TextArea>
<TextArea placeholder="Fixedsize" fixedSize={true}></TextArea>

### Rows & Cols

Expand Down

0 comments on commit 68c93ab

Please sign in to comment.