@eds/show-more
v4.0.1
ShowMore
Description of package.Prop | Required | Description | Type |
---|---|---|---|
children | ✅ | The content to be displayed and truncated | string | number | false | true | ReactElement<any, string | JSXElementConstructor<any>> | ReactPortal | { key?: string | number; ref?: null; props?: { children?: boolean | ReactChild | ReactPortal | StrictReactFragment; }; } | (boolean | ReactChild | ReactPortal | StrictReactFragment)[] |
maxHeight | — | Maximum height of the content. Defaults to 4rem | string | numberSupports responsive prop syntax |