diff --git a/src/components/Button.tsx b/src/components/Button.tsx new file mode 100644 index 0000000..5c7fd95 --- /dev/null +++ b/src/components/Button.tsx @@ -0,0 +1,24 @@ +import React from 'react'; + +export interface IButtonProps extends React.DetailedHTMLProps, HTMLButtonElement> { + backgroundColor?: string; + color?: string; + style?: React.CSSProperties; +} + +export const Button: React.FunctionComponent = (props) => { + const { children, backgroundColor, style } = props; + + return ( + + ); +}; diff --git a/src/components/index.ts b/src/components/index.ts new file mode 100644 index 0000000..8b166a8 --- /dev/null +++ b/src/components/index.ts @@ -0,0 +1 @@ +export * from './Button'; diff --git a/src/index.ts b/src/index.ts index a5b8b8b..9c48716 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,2 +1,3 @@ export * from './hooks'; export * from './library'; +export * from './components';