chore: added deprecation to create button, doesn't belong in core-components

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-02-04 19:22:26 +01:00
parent 44f44f6408
commit a4ad1ddcb6
@@ -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;