1.0.4 • Published 5 years ago

storybook-central-repo-test v1.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Component Library

ComponentImportUsage
Contact Formimport {ContactForm} from 'storybook-central-repo-test'<ContactForm method={}/>
MessageBannerimport {MessageBannder from 'storybook-central-repo-test'}<MessageBanner />

##Contact Form propTypes

proptypeisRequireddefaultdescription
formActionstringfalse''action for the form
formMethodPOST / GETtrue''method for the form
styleobjectfalse{}inline styling of the component
formTitlestringtrue''title of the form
namePlaceholderstringfalseNameplaceholder for the name input
emailPlaceholderstringfalseEmailplaceholder for the email input
messagePlaceholderstringfalseMessageplaceholder for the message input
optionsarraytrue[]ID and Item required
options.idnumbertrueid for hte options items
options.itemstringtruecategory name for the options item
nameLabelstringfalseNamelabel for the name input field
emailLabelstringfalseEmaillabel for the name email field
categoryLabelstringfalseCategorylabel for the category input field
messageLabelstringfalseMessagelabel for the message input field
focusColorstringfalsedefault stylecolor of the inputs focus outline
hoverColorstringfalsedefault stylecolor of the submit button hover
btnOutlineColorstringfalsedefault styleoutline color for the button on focus
hoverTextColorstringfalsedefault styletext color for an input on hover

##MessageBanner propTypes

proptypeisRequireddefaultdescription
succesColorstringfalse#4fc649color of the success banner type
failColorstringfalse#c64949color of the failure banner type
succesMessagestringfalsesucces messagemessage of the success banner type
failureMessagestringfalsefailure messagemessage of the failure banner type
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago