15 lines
389 B
TypeScript
15 lines
389 B
TypeScript
import React from 'react';
|
|
import { Button } from 'antd';
|
|
|
|
export const FilledButton = (props: any) => (
|
|
<Button className={`b-button__filled${props?.danger ? ' danger': ''}`} {...props}>
|
|
{props.children}
|
|
</Button>
|
|
);
|
|
|
|
export const FilledYellowButton = (props: any) => (
|
|
<Button className="b-button__filled_yellow" {...props}>
|
|
{props.children}
|
|
</Button>
|
|
);
|