Skip to content

Commit

Permalink
chore:update tile docs to include latest aliastyles (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaloka authored Dec 1, 2023
1 parent 99e625d commit f7e2ebf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ import Surface, { SurfaceStyle } from '../Surface';
type TileStyle = SurfaceStyle & {
animationEntrance: lng.types.TransitionSettings.Literal;
animationExit: lng.types.TransitionSettings.Literal;
/** @deprecated */
iconWidth: number;
logoWidth: number;
/** @deprecated */
iconHeight: number;
logoHeight: number;
metadataLocation: 'standard' | 'inset';
paddingX: number;
paddingY: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class Basic extends lng.Component {
| artwork | object | false | undefined | Object containing all properties supported in the [Artwork component](?path=/docs/components-artwork--artwork) |
| badge | object | false | undefined | Object containing all properties supported in the [Badge component](?path=/docs/components-badge--text) |
| checkbox | object | false | undefined | Object containing all properties supported in the [Checkbox component](?path=/docs/components-checkbox--checkbox) |
| circle | boolean | false | undefined | If true, changes format of itemLayout to circle |
| label | object | false | undefined | Object containing all properties supported in the [Label component](?path=/docs/components-label--label) |
| logo | string | false | undefined | Source of logo |
| metadata | object | false | undefined | Object containing all properties supported in the [MetadataTile component](?path=/docs/components-metadatatile--metadata-tile)<br /> Can use a different Metadata component by passing in a 'type' and then that component's properties |
Expand All @@ -107,8 +108,8 @@ class Basic extends lng.Component {
| ---------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| animationEntrance | object | Animation values applied on entrance |
| animationExit | object | Animation values applied on exit |
| iconHeight | number | customized height of icon |
| iconWidth | number | customized width of icon |
| logoHeight | number | customized height of icon |
| logoWidth | number | customized width of icon |
| metadataLocation | 'standard' \| 'inset' | Determines the location of the metadata within the tile |
| paddingX | number | Padding applied to the inside of the left and right of component |
| paddingY | number | Padding applied to the inside of the top and bottom of component (when metadataLocation is inset, if there is no ProgressBar, this is applied to the space between the bottom of the Metadata and bottom of the Tile) |
Expand Down

0 comments on commit f7e2ebf

Please sign in to comment.