11 lines
410 B
JavaScript
11 lines
410 B
JavaScript
import React from "react";
|
|
import { TextInput } from "../components";
|
|
export default{
|
|
component: TextInput,
|
|
title: 'Input/TextInput',
|
|
}
|
|
|
|
export const Primary = (args) => <TextInput {...args}/>;
|
|
Primary.args = {id: 'Test', name:'test', label: 'Text Field', value: 'Some Input Data'}
|
|
export const Disabled = () => <TextInput disabled/>;
|
|
Disabled.args = { label: ' Disabled Text Field', value: 'Disabled'} |