PATH:
home
/
lab2454c
/
carbonbullionexchange.com
/
wp-content
/
plugins
/
elementor
/
app
/
assets
/
js
/
ui
/
molecules
import { pxToRem, arrayToClassName } from 'elementor-app/utils/utils.js'; export default function ListItem( props ) { const baseClassName = 'eps-list__item', classes = [ baseClassName, props.className ]; let style; if ( Object.prototype.hasOwnProperty.call( props, 'padding' ) ) { style = { '--eps-list-item-padding': pxToRem( props.padding ), }; classes.push( baseClassName + '--padding' ); } return ( <li style={ style } className={ arrayToClassName( classes ) }> { props.children } </li> ); } ListItem.propTypes = { className: PropTypes.string, padding: PropTypes.string, children: PropTypes.any.isRequired, }; ListItem.defaultProps = { className: '', };
[-] list.scss
[edit]
[-] list-item.js
[edit]
[-] popover-api.scss
[edit]
[-] popover.js
[edit]
[+]
..
[-] button.js
[edit]
[-] select2-api.scss
[edit]
[-] inline-link.js
[edit]
[-] add-new-button.js
[edit]
[-] select2.js
[edit]
[-] notice.scss
[edit]
[-] select2.scss
[edit]
[-] list.js
[edit]
[-] buttons-api.scss
[edit]
[-] buttons.scss
[edit]
[-] notice.js
[edit]
[-] add-new-button.scss
[edit]
[-] popover.scss
[edit]
[-] inline-link.scss
[edit]