release(tach-typography): v0.3.0
This commit is contained in:
@@ -58,6 +58,14 @@ export const Example = () => (
|
||||
);
|
||||
```
|
||||
|
||||
Markdown as a prop (keeps existing API):
|
||||
|
||||
```tsx
|
||||
<TachTypography.Text.AccentH1 markdownEnabled>
|
||||
**Bold** _italic_ [Docs](https://example.com)
|
||||
</TachTypography.Text.AccentH1>
|
||||
```
|
||||
|
||||
## Angular usage (NG-ZORRO)
|
||||
|
||||
```ts
|
||||
@@ -92,6 +100,12 @@ import { TachTypographyComponent } from "@hublib-web/tach-typography/angular";
|
||||
export class ExampleComponent {}
|
||||
```
|
||||
|
||||
Markdown in Angular:
|
||||
|
||||
```html
|
||||
<tach-typography variant="Body" [markdownEnabled]="true" [markdown]="'**Bold** _italic_'"></tach-typography>
|
||||
```
|
||||
|
||||
## Storybook (dev/design system)
|
||||
|
||||
Run from repository root:
|
||||
|
||||
Reference in New Issue
Block a user