Skip to content

Commit

Permalink
feat(typecript): repair radio Field story
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedasilva committed Sep 5, 2023
1 parent 1193275 commit 4d4d67f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/lib/RadioField/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import FieldControl from '../FieldControl';
import Label from '../Label';

export default { title: 'react/RadioField' };
const basicOptions = [
const basicOptions: Array<any> = [
{ title: 'Apple', value: 'Apple' },
{ title: 'Pear', value: 'Pear' },
{ title: 'Orange', value: 'Orange' },
Expand Down Expand Up @@ -66,7 +66,7 @@ export const withOneDisabled = () => (
);

export const withCustomValidation = () => {
const withOneProhibed = cloneDeep(withDescriptions);
const withOneProhibed: Array<any> = cloneDeep(withDescriptions);
withOneProhibed[2].description = 'You should not choose this fruit';

return (
Expand Down

0 comments on commit 4d4d67f

Please # to comment.