Skip to content

Commit

Permalink
feat(ListButton): remove hailrine prop
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Feb 19, 2021
1 parent c300120 commit c4706b0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/react/components/ListButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const ListButton = (props) => {
className,
colors: colorsProp,

// Hairlines
hairline = true,

// Link props
href,
target,
Expand Down Expand Up @@ -47,11 +44,9 @@ const ListButton = (props) => {

const c = themeClasses(
{
base: `${!hairline ? 'no-hairlines ' : ''}`,
base: ``,
button: {
common: `relative flex items-center justify-center px-4 space-x-1 active:bg-opacity-15 w-full duration-300 active:duration-0 focus:outline-none ${
hairline ? 'hairline-b active-no-hairline' : ''
} ${colors.text} ${colors.activeBg}`,
common: `relative flex items-center justify-center px-4 space-x-1 active:bg-opacity-15 w-full duration-300 active:duration-0 focus:outline-none hairline-b active:hairline-transparent ${colors.text} ${colors.activeBg}`,
ios: 'h-11',
material: 'h-12',
},
Expand Down

0 comments on commit c4706b0

Please sign in to comment.