mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-24 12:34:20 +00:00
27 lines
554 B
React
27 lines
554 B
React
|
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,
|
||
|
}
|