Skip to content

Rafler/shelf-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How Install finished package

$ yarn add @rafler/shelf-test

Usage

import {RoleSelector} from '@rafler/shelf-test';

//...
<RoleSelector
  onSelect={/* cb with selected role */}
  onChage={/* cb with fresh custom role */}
  onSubmit={/* cb with submitted data */}
/>;
//...
import {Select} from '@rafler/shelf-test';

//...
<Select
  values={/* array of strings to be shown in dropdown */}
  onSelect={/* cb with new selected */}
  selected={/* selected value*/}
/>;
//...
import {Checkbox} from '@rafler/shelf-test';

//...
<Checkbox
  checked={/* indicates is checkbox checked */}
  onClick={/* cb with new boolean value */}
  name={/* checkbox name to be shown*/}
  readonly={/* boolean to deny checkbox change*/}
/>;
//...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published