Update eslint to 8.27.0
This commit is contained in:
parent
c8fb43a846
commit
98ef4c627a
499 changed files with 8995 additions and 8494 deletions
|
@ -18,14 +18,16 @@ const createProps = (): PropsType => ({
|
|||
value: 30,
|
||||
});
|
||||
|
||||
export const Default = (): JSX.Element => <Slider {...createProps()} />;
|
||||
export function Default(): JSX.Element {
|
||||
return <Slider {...createProps()} />;
|
||||
}
|
||||
|
||||
export const DraggableTest = (): JSX.Element => {
|
||||
function StatefulSliderController(props: PropsType): JSX.Element {
|
||||
const [value, setValue] = useState(30);
|
||||
function StatefulSliderController(props: PropsType): JSX.Element {
|
||||
const [value, setValue] = useState(30);
|
||||
|
||||
return <Slider {...props} onChange={setValue} value={value} />;
|
||||
}
|
||||
return <Slider {...props} onChange={setValue} value={value} />;
|
||||
}
|
||||
|
||||
export function DraggableTest(): JSX.Element {
|
||||
return <StatefulSliderController {...createProps()} />;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue