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