chore: added deprecation to create button, doesn't belong in core-components
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -25,6 +25,7 @@ import AddCircleOutline from '@material-ui/icons/AddCircleOutline';
|
||||
/**
|
||||
* Properties for {@link CreateButton}
|
||||
*
|
||||
* @deprecated
|
||||
* @public
|
||||
*/
|
||||
export type CreateButtonProps = {
|
||||
@@ -35,6 +36,9 @@ export type CreateButtonProps = {
|
||||
* Responsive Button giving consistent UX for creation of different things
|
||||
*
|
||||
* @public
|
||||
*
|
||||
* @deprecated Please use IconButton directly and have your own implementation of this component.
|
||||
* It doesn't really fit as a core-component.
|
||||
*/
|
||||
export function CreateButton(props: CreateButtonProps) {
|
||||
const { title, to } = props;
|
||||
|
||||
Reference in New Issue
Block a user