mirror of
https://github.com/strapi/strapi.git
synced 2025-08-26 17:53:10 +00:00
Create documentation for Ico and IcoContainer components
This commit is contained in:
parent
8f35c9186c
commit
3504624c84
@ -104,8 +104,12 @@ class FooPage extends React.Component {
|
||||
render () {
|
||||
return (
|
||||
<div className={styles.fooPage}>
|
||||
<Ico icoType="trash" onClick={this.handleClick} />
|
||||
<PopUpWarning isOpen={this.state.showModal} onConfirm={() => this.setState({ showModal: false })} toggleModal={() => this.setState({ showModal: false })} />
|
||||
<Ico icoType="trash" onClick={this.handleClick} />
|
||||
<PopUpWarning
|
||||
isOpen={this.state.showModal}
|
||||
onConfirm={() => this.setState({ showModal: false })}
|
||||
toggleModal={() => this.setState({ showModal: false })}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@ -149,8 +153,12 @@ class FooPage extends React.Component {
|
||||
|
||||
return (
|
||||
<div className={styles.fooPage}>
|
||||
<IcoContainer icons={icons} />
|
||||
<PopUpWarning isOpen={this.state.showModal} onConfirm={() => this.setState({ showModal: false })} toggleModal={() => this.setState({ showModal: false })} />
|
||||
<IcoContainer icons={icons} />
|
||||
<PopUpWarning
|
||||
isOpen={this.state.showModal}
|
||||
onConfirm={() => this.setState({ showModal: false })}
|
||||
toggleModal={() => this.setState({ showModal: false })}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user