Skip to content

Commit

Permalink
fix: updating to sentence case
Browse files Browse the repository at this point in the history
  • Loading branch information
m7adeel committed Oct 25, 2023
1 parent fcabaf2 commit 4cb9640
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/forms/ComboBox/ComboBox.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const defaultComboBoxWithPropOptions = (): React.ReactElement => {

return (
<Form onSubmit={noop}>
<Label htmlFor="input-ComboBox">Select a Fruit</Label>
<Label htmlFor="input-ComboBox">Select a fruit</Label>
<ComboBox
id="input-ComboBox"
name="input-ComboBox"
Expand All @@ -54,7 +54,7 @@ export const withDefaultValue = (): React.ReactElement => {

return (
<Form onSubmit={noop}>
<Label htmlFor="input-ComboBox">Select a Fruit</Label>
<Label htmlFor="input-ComboBox">Select a fruit</Label>
<ComboBox
id="input-ComboBox"
name="input-ComboBox"
Expand All @@ -74,7 +74,7 @@ export const withLabel = (): React.ReactElement => {

return (
<Form onSubmit={noop}>
<Label htmlFor="fruit">Select a Fruit</Label>
<Label htmlFor="fruit">Select a fruit</Label>
<ComboBox
id="fruit"
name="fruit"
Expand All @@ -94,7 +94,7 @@ export const disabled = (): React.ReactElement => {

return (
<Form onSubmit={noop}>
<Label htmlFor="fruit">Select a Fruit</Label>
<Label htmlFor="fruit">Select a fruit</Label>
<ComboBox
id="fruit"
name="fruit"
Expand All @@ -114,7 +114,7 @@ export const withOtherFields = (): React.ReactElement => {

return (
<Form onSubmit={noop}>
<Label htmlFor="fruit">Select a Fruit</Label>
<Label htmlFor="fruit">Select a fruit</Label>
<ComboBox id="fruit" name="fruit" options={fruitList} onChange={noop} />
<Label htmlFor="fruitDescription">Description</Label>
<TextInput id="fruitDescription" name="fruitDescription" type="text" />
Expand All @@ -135,7 +135,7 @@ export const exposedRefMethods = (): React.ReactElement => {

return (
<Form onSubmit={noop}>
<Label htmlFor="fruit">Select a Fruit</Label>
<Label htmlFor="fruit">Select a fruit</Label>
<ComboBox
id="fruit"
name="fruit"
Expand Down Expand Up @@ -178,7 +178,7 @@ export const customInputChangeHandler = (): React.ReactElement => {

return (
<Form onSubmit={noop}>
<Label htmlFor="fruit">Select a Fruit</Label>
<Label htmlFor="fruit">Select a fruit</Label>
<ComboBox
id="fruit"
name="fruit"
Expand Down

0 comments on commit 4cb9640

Please sign in to comment.