This repository was archived by the owner on Jul 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbutton-routes.tsx
More file actions
27 lines (23 loc) · 1.61 KB
/
button-routes.tsx
File metadata and controls
27 lines (23 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Route } from 'react-router-dom';
import * as React from 'react';
import { Default } from './default';
import { ButtonGroup } from './button-group';
import { CheckBox } from './check-box';
import { RadioButton } from './radio-button';
import { DropDownButton } from './drop-down-button';
import { SplitButton } from './split-button';
import { Switch } from './switch';
import { ProgressButton } from './progress-button';
export const buttonRoutes = (
<div>
<Route path='/:theme/button/default' component={ Default }/>
<Route path='/:theme/button/button-group' component={ ButtonGroup }/>
<Route path='/:theme/button/check-box' component={ CheckBox }/>
<Route path='/:theme/button/radio-button' component={ RadioButton }/>
<Route path='/:theme/button/drop-down-button' component={ DropDownButton }/>
<Route path='/:theme/button/split-button' component={ SplitButton }/>
<Route path='/:theme/button/switch' component={ Switch }/>
<Route path='/:theme/button/progress-button' component={ ProgressButton }/>
</div>
)
export const buttonCategory = {"default":{"name":"Default Functionalities","category":"Button"},"button-group":{"name":"ButtonGroup","category":"Button"},"check-box":{"name":"CheckBox","category":"Button"},"radio-button":{"name":"RadioButton","category":"Button"},"drop-down-button":{"name":"DropDownButton","category":"Button"},"split-button":{"name":"SplitButton","category":"Button"},"switch":{"name":"Switch","category":"Button"},"progress-button":{"name":"ProgressButton","category":"Button"},"defaultSample":"button/default"}