Skip to content

Commit f6189ab

Browse files
authored
feat: make flowbite-button usable as directive (#109)
## PR Checklist Please check if your PR fulfills the following requirements: <!--- [ ] Tests for the changes have been added (for bug fixes/features)--> - [x] Docs have been added/updated (for bug fixes/features) ## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x". --> - [ ] Bugfix - [X] Feature - [ ] Code style update (formatting, local variables) - [ ] Refactoring (no functional changes, no API changes) - [ ] Build related changes - [ ] CI-related changes - [ ] Documentation content changes - [ ] Other... Please describe: ## Issue Number <!-- Bugs and features must be linked to an issue. --> Issue Number: N/A ## Does this PR introduce a breaking change? <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> - [ ] Yes - [x] No ## Other information @coderabbitai summary
2 parents fc33fa8 + 7a81cea commit f6189ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+688
-59
lines changed
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
---
2+
title: Component
3+
route: component
4+
keyword: ButtonComponentPage
5+
---
6+
7+
{% import "../../shared/component-deprecated-usage.md" as cdu %}
8+
9+
{{ cdu.deprecated() }}
10+
11+
## Default button
12+
13+
{{ NgDocActions.demo('c_default', {container: false}) }}
14+
15+
```angular-html file="./component/_default.component.html" group="default" name="html"
16+
17+
```
18+
19+
```angular-ts file="./component/_default.component.ts"#L1-L1 group="default" name="typescript"
20+
21+
```
22+
23+
## Button pills
24+
25+
{{ NgDocActions.demo('c_pill', {container: false}) }}
26+
27+
```angular-html file="./component/_pill.component.html" group="pill" name="html"
28+
29+
```
30+
31+
```angular-ts file="./component/_pill.component.ts"#L1-L1 group="pill" name="typescript"
32+
33+
```
34+
35+
## Gradient monochrome
36+
37+
{{ NgDocActions.demo('c_gradient_monochrome', {container: false}) }}
38+
39+
```angular-html file="./component/_gradient-monochrome.component.html" group="gradient-monochrome" name="html"
40+
41+
```
42+
43+
```angular-ts file="./component/_gradient-monochrome.component.ts"#L1-L1 group="gradient-monochrome" name="typescript"
44+
45+
```
46+
47+
## Gradient duo-tone
48+
49+
{{ NgDocActions.demo('c_gradient_duotone', {container: false}) }}
50+
51+
```angular-html file="./component/_gradient-duotone.component.html" group="gradient-duotone" name="html"
52+
53+
```
54+
55+
```angular-ts file="./component/_gradient-duotone.component.ts"#L1-L1 group="gradient-duotone" name="typescript"
56+
57+
```
58+
59+
## Gradient outline
60+
61+
{{ NgDocActions.demo('c_gradient_outline', {container: false}) }}
62+
63+
```angular-html file="./component/_gradient-outline.component.html" group="gradient-outline" name="html"
64+
65+
```
66+
67+
```angular-ts file="./component/_gradient-outline.component.ts"#L1-L1 group="gradient-outline" name="typescript"
68+
69+
```
70+
71+
## Outline buttons
72+
73+
{{ NgDocActions.demo('c_outline', {container: false}) }}
74+
75+
```angular-html file="./component/_outline.component.html" group="outline" name="html"
76+
77+
```
78+
79+
```angular-ts file="./component/_outline.component.ts"#L1-L1 group="outline" name="typescript"
80+
81+
```
82+
83+
## Button sizes
84+
85+
{{ NgDocActions.demo('c_size', {container: false}) }}
86+
87+
```angular-html file="./component/_size.component.html" group="size" name="html"
88+
89+
```
90+
91+
```angular-ts file="./component/_size.component.ts"#L1-L1 group="size" name="typescript"
92+
93+
```
94+
95+
## Button with icon
96+
97+
{{ NgDocActions.demo('c_icon', {container: false}) }}
98+
99+
```angular-html file="./component/_icon.component.html" group="icon" name="html"
100+
101+
```
102+
103+
```angular-ts file="./component/_icon.component.ts"#L1-L2 group="icon" name="typescript"
104+
105+
```
106+
107+
## Button with label
108+
109+
{{ NgDocActions.demo('c_label', {container: false}) }}
110+
111+
```angular-html file="./component/_label.component.html" group="label" name="html"
112+
113+
```
114+
115+
```angular-ts file="./component/_label.component.ts"#L1-L2 group="label" name="typescript"
116+
117+
```
118+
119+
## Icon buttons
120+
121+
{{ NgDocActions.demo('c_icon_only', {container: false}) }}
122+
123+
```angular-html file="./component/_icon-only.component.html" group="icon-only" name="html"
124+
125+
```
126+
127+
```angular-ts file="./component/_icon-only.component.ts"#L1-L2 group="icon-only" name="typescript"
128+
129+
```
130+
131+
## Disabled
132+
133+
{{ NgDocActions.demo('c_disabled', {container: false}) }}
134+
135+
```angular-html file="./component/_disabled.component.html" group="disabled" name="html"
136+
137+
```
138+
139+
```angular-ts file="./component/_disabled.component.ts"#L1-L1 group="disabled" name="typescript"
140+
141+
```

0 commit comments

Comments
 (0)