14 lines
301 B
TypeScript
14 lines
301 B
TypeScript
import { Button as AntButton, ButtonProps } from 'antd'
|
|
import React from 'react'
|
|
import './style.scss'
|
|
|
|
type Props = ButtonProps
|
|
|
|
export const Button = ({ children, htmlType }: Props) => {
|
|
return (
|
|
<AntButton className="dank-button" htmlType={htmlType}>
|
|
{children}
|
|
</AntButton>
|
|
)
|
|
}
|