Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions playground/src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ContainerCode, ContainerCodeProps } from './ContainerCode';
import { Header } from './Header';
import { Radio } from './Radio';
import { ToastCode, ToastCodeProps } from './ToastCode';
import { flags, positions, themes, transitions, typs } from './constants';
import { flags, positions, themes, transitions, types } from './constants';

import React from 'react';
import '../../../scss/main.scss';
Expand Down Expand Up @@ -152,7 +152,7 @@ class App extends React.Component {
<h3>Type</h3>
<ul>
<Radio
options={typs}
options={types}
name="type"
checked={this.state.type}
onChange={this.handleRadioOrSelect}
Expand Down
2 changes: 1 addition & 1 deletion playground/src/components/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const positions = {
BOTTOM_CENTER: 'bottom-center'
};

export const typs = {
export const types = {
INFO: 'info',
SUCCESS: 'success',
WARNING: 'warning',
Expand Down