Skip to content

Commit

Permalink
docs: removed some old props (#3780)
Browse files Browse the repository at this point in the history
* chore: remove button property as from docs

* chore: remove Icon prop fill from docs
  • Loading branch information
aromko authored Feb 29, 2024
1 parent 6de0cb6 commit f4a534d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion docs/content/components/content/icon/icon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ On this page you can learn how [Marigold Icons](/concepts/icons/) should be used
Icons itself can be used to improve visual interest and get users attention.

The size of the icon can be change via the `size` prop. The default size is `24px`.
The `fill` prop is the second attribute and defaults `currentcolor`.
The color of the icon refers to the property [`currentcolor`](https://www.w3schools.com/colors/colors_currentcolor.asp).

For a full list of the available Icons go to the [Marigold Icons](/concepts/icons/).

Expand Down
7 changes: 0 additions & 7 deletions docs/content/components/form/button/button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ import { Button } from '@marigold/components';

<PropsTable
props={[
{
property: 'as',
type: 'HTMLElement | MarigoldComponent',
description:
'Behaves like a HTMLElement or a Marigold component if used.',
default: 'none',
},
{
property: 'onPress',
type: '(e: PressEvent) => void',
Expand Down

0 comments on commit f4a534d

Please sign in to comment.