Skip to content

Commit

Permalink
Components
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilsoni committed Oct 17, 2023
1 parent cbe55b3 commit 4f66181
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/ui/react/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@ export default DangerButton;

By using default you express that\'s going to be member in that module which would be imported if no specific member name is provided. You could also express you want to import the specific member called DangerButton by doing so: `import { DangerButton } from './comp/danger-button';` in this case, no default is needed

<div align="right">
<b><a href="#table-of-contents">↥ back to top</a></b>
</div>

### declarative and imperative

Expand Down Expand Up @@ -228,9 +225,7 @@ function Message() {
ReactDOM.render(<Message />, document.getElementById('app'));
```

<div align="right">
<b><a href="#table-of-contents">↥ back to top</a></b>
</div>


### conditionally render components

Expand Down

0 comments on commit 4f66181

Please sign in to comment.