1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-24 12:34:20 +00:00
bluelib/src/components/inputs/Area.stories.jsx

27 lines
554 B
React
Raw Normal View History

2021-08-19 17:54:58 +00:00
import * as React from "react"
import * as ReactDOM from "react-dom"
import * as Decorators from "../../utils/Decorators"
import { Area } from "./Area"
export default {
component: Area,
title: "Inputs/Area",
decorators: [Decorators.Bluelib],
argTypes: {
customColor: {
control: {type: "color"},
},
},
}
export const Default = props => (
<Area {...props}/>
)
Default.args = {
placeholder: "Enter multiline text here\n\nThis component can be resized",
disabled: false,
required: false,
}