✨(react) add a temporary TextInput
Even if we haven't started to work on a complete set of inputs we need a generic Input to implement the "goto" feature on the Pagination component. This component is not intended to be used in by the librarie's dependent, so we mark it as "WIP" for the moment.
This commit is contained in:
17
packages/react/src/components/Forms/Input/index.stories.tsx
Normal file
17
packages/react/src/components/Forms/Input/index.stories.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
||||
import React from "react";
|
||||
import { Input } from "components/Forms/Input/index";
|
||||
|
||||
export default {
|
||||
title: "Components/Forms (WIP)/Input",
|
||||
component: Input,
|
||||
} as ComponentMeta<typeof Input>;
|
||||
|
||||
const Template: ComponentStory<typeof Input> = (args) => (
|
||||
<Input {...args} aria-label="Input" />
|
||||
);
|
||||
|
||||
export const Default = Template.bind({});
|
||||
Default.args = {
|
||||
defaultValue: "Hello world",
|
||||
};
|
||||
Reference in New Issue
Block a user