icon-styles.js
20 lines
| 1 | import IconLocation from './icon-location'; |
| 2 | import IconPadding from './icon-padding'; |
| 3 | |
| 4 | export default function IconStyles( props ) { |
| 5 | const { |
| 6 | locationOptions, |
| 7 | iconLocation, |
| 8 | attributes, |
| 9 | setAttributes, |
| 10 | onChangeLocation, |
| 11 | } = props; |
| 12 | |
| 13 | return ( |
| 14 | <> |
| 15 | <IconLocation value={ iconLocation } onChange={ onChangeLocation } options={ locationOptions } /> |
| 16 | <IconPadding attributes={ attributes } setAttributes={ setAttributes } /> |
| 17 | </> |
| 18 | ); |
| 19 | } |
| 20 |