UNPKG

@focuson/form_components

Version:

Components that can be used by @focuson/forms

20 lines (19 loc) 839 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // // // state will be whatever the selected is // export function SearchListItemsCD<S, T, Context> ( { state, title, children, mode }: SearchListItemsCDProps<S, T, Context> ) { // return ( // <div style={{ border: '2px solid black', backgroundColor: 'white' , 'height': 'auto'}}> // <h5>{title}</h5> // <div style={{ display: 'flex', flexDirection: 'column', padding: '10px' }}> // <div style={{ display: 'flex', justifyContent: 'flex-start', padding: '20px'}}> // {/*@ts-ignore*/} // <LabelAndStringInput label={'Search: '} state={state}/> // </div> // {children({state, mode})} // </div> // </div> // ) // // }