UNPKG

phx-react

Version:

PHX REACT

27 lines 898 B
import React from 'react'; import { PHXDropdown } from '../components/Dropdown'; import PHXRow from '../components/Row/Row'; export default function DemoPHXRow() { const options = [ { content: 'option 1', id: 1, onClick: () => console.log(1), }, { content: 'option 2', id: 2, onClick: () => console.log(1), }, { content: 'option 3', id: 3, onClick: () => console.log(1), }, ]; return (React.createElement(PHXRow, null, React.createElement(PHXDropdown, { buttonContent: 'Option', options: options }), React.createElement(PHXDropdown, { buttonContent: 'Option', options: options }), React.createElement(PHXDropdown, { buttonContent: 'Option', options: options }))); } //# sourceMappingURL=demo-phx-row.js.map